<?php
namespace App\Models;

class Redis{
	public function setToken($key, $value){
		return cache()->save($key, $value, 100);
	}
	public function getToken($key){
		return cache($key);
	}
	public function delToken($key){
		return cache()->delete($key);
	}
}
